|
|
Well, perhaps a 'blur_clock' might be useful, but if I have understood it
correctly, it would not fit in the ideology of the motion blur syntax.
As far as I have understood it, you just make an animation as usual,
eg:
...
object
{ MyObject
#if(clock<.5)
translate <clock*clock*10, clock, 0>
#else
translate <clock*10+2.5, .5, 0>
#end
}
...
Then, if you want motion blur, you just enclose the moving object with
the motion_blur block:
...
motion_blur
{
object
{ MyObject
#if(clock<.5)
translate <clock*clock*10, clock, 0>
#else
translate <clock*10+2.5, .5, 0>
#end
}
...
and set a proper global_settings at the beginning of the file. Eg:
global_settings { 10, clock_delta }
You don't have to do anything else. That's enough. And you get a perfect
motion blur which takes into account the amount of movement in each
frame.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|